Auto merge of #3518 - Manishearth:static-mut, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 9 Jan 2017 19:46:09 +0000 (19:46 +0000)
committerbors <bors@rust-lang.org>
Mon, 9 Jan 2017 19:46:09 +0000 (19:46 +0000)
commit46bba437205f69c40b2376036aee60ede4fe52bd
tree26c8b4b25cff01e1e44f5cd6ab90f9a704c3a5ce
parentecf6f980e5f1f49fcefd2f125177d291fc827e45
parente35a00a12e2fa29308b9ffe596eed4e94e280186
Auto merge of #3518 - Manishearth:static-mut, r=alexcrichton

Replace static mut bool with atomicbool

unsafe in tests is fine, but it can be trivially avoided in this case.

r? @alexcrichton

cc @froydnj